//
//  StarCooperationCell.m
//  LiveStar
//
//  Created by 漪珊 on 2017/2/17.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "StarCooperationCell.h"
#import "StarCooperationModel.h"

@implementation StarCooperationCell

- (void)setCooperModel:(StarCooperationModel *)cooperModel {
    _cooperModel = cooperModel;
    self.sponsorName.text = cooperModel.g_sponsor;
    self.timeLabel.text = cooperModel.g_addtime;
    [self.phoneNum setTitle:cooperModel.g_phone forState:UIControlStateNormal];
}
#pragma mark -- 拨打赞助商电话
- (IBAction)call:(id)sender {
    [self.delegate phoneWithCell:self];
}

@end
